package top.easycode.app.controller.service.dto.req;

import top.easycode.app.common.BaseReq;

import javax.validation.constraints.NotNull;

/**
 * Created by hujun on 2017\9\30 0030.
 */
public class UserRegisterReq extends BaseReq{
    @NotNull(message = "登录名不能为空")
    private String name;
    @NotNull(message = "密码不能为空")
    private String password;
    @NotNull(message = "确认密码不能为空")
    private String confirmPassword;

    private String nickname;

    private String mobile;

//    private String token;

    private String headImage;

    public String getConfirmPassword() {
        return confirmPassword;
    }

    public void setConfirmPassword(String confirmPassword) {
        this.confirmPassword = confirmPassword;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage;
    }
}
